#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>

bool leap_year(int year)
{
	if ((year % 4 == 0 && year % 100 != 0) || year % 400 == 0)
		return true;
	else
		return false;

}
int main()
{
	int input = 0;
	bool leap = true;
	scanf("%d", &input);
	leap = leap_year(input);
	if (leap)
		printf("yes");
	else
		printf("no");
	return 0;
}